﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/Master/FrameMain.Master" AutoEventWireup="true" CodeBehind="List.aspx.cs" Inherits="Jzy.Web.SiteAdmin.LeaveWord.List" %>
<%@ Register Src="../../Common/Controls/Footer.ascx" TagName="Footer" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
 <div id="toolbar">
        <ul>           
            <li><a id="lnkDelete" runat="server" href="javascript:go()"><span><b style="background-image: url(../../common/images/icons/delete.gif);">
                &nbsp;</b><asp:Literal ID="Literal4" runat="server" Text="删除"></asp:Literal></span></a></li>
            <li>
                <asp:Button ID="btnRefresh" runat="server" Text="Button" OnClick="btnRefresh_Click"
                    CssClass="refresh" />
                <asp:Button ID="btnDelete" runat="server" Text="删除" OnClick="btnDelete_Click" CausesValidation="False"
                    CssClass="hide" /></li>
        </ul>
    </div>
    <div id="head">
        <div class="left">
            <asp:Label ID="lblTitle" runat="server" Text="网站留言"  Font-Bold="true"></asp:Label><asp:Label
                ID="lblStatistic" runat="server" Text="Label"></asp:Label></div>
    </div>
    <div id="list">
        <asp:HiddenField ID="hidSelectIDs" runat="server" Value="" />
        <table id="lvList" cellpadding="0" cellspacing="0" border="0" width="100%">
            <tr id="lvHeader" runat="server">
                <th class="sp">
                    &nbsp;
                </th>
                <th class="chk">
                    <asp:CheckBox ID="chkSelectAll" runat="server" />
                </th>
                <th style="width:200px; text-align:center;">
                    留言人
                </th>
                <th>
                    留言内容
                </th>
                <th>
                    留言时间
                </th>
               
            </tr>
            <asp:ListView ID="lv" runat="server" ItemPlaceholderID="items">
                <LayoutTemplate>
                    <tr id="items" runat="server">
                    </tr>
                </LayoutTemplate>
                <ItemTemplate>
                    <tr id="row" runat="server">
                        <td class="sp">
                            &nbsp;
                        </td>
                        <td class="chk">
                            <asp:CheckBox ID="chkSelect" runat="server" />
                        </td>
                        <td style="text-align:center;">
                            <%#Eval("Name") %>&nbsp;
                        </td>
                        <td>
                            <%#GetContent(Eval("Content")) %>&nbsp;
                        </td>
                        <td>
                             <%#Eval("InputTime") %>
                        </td>
                      
                    </tr>
                </ItemTemplate>
                <EmptyDataTemplate>
                    <tr>
                        <td colspan="5" class="empty">
                            没有留言
                        </td>
                    </tr>
                </EmptyDataTemplate>
            </asp:ListView>
        </table>
    </div>   
   <uc1:Footer ID="Footer1" runat="server" />

    
</asp:Content>
